package top.myliangsl.newsapplets.domain.po.jdApi;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 新闻channelDTO
 * @author xiaoliang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class JdNewsChannelDto {

    private String code;

    /**
     * false：不扣费 true：扣费
     */
    private Boolean charge;

    private String msg;

    private ResultDTO result;

    @NoArgsConstructor
    @Data
    public static class ResultDTO {

        private Integer status;

        private String msg;

        private List<String> result;
    }
}
